<template>
  <div>
    
    <!-- v-bind可以简写为:  动态的设置html的属性 -->

    <a :href="url"></a>
     <!-- <input type="checkbox" v-bind:checked="flag"> -->
      <input type="checkbox" :checked="flag">
     <span>多选框</span>
   </div>
</template>
 
<script>
export default {
 
  data() {
    return {
      url:'https://gitee.com/',
      flag:true,
    };
  },
  
};
</script>

<style scoped>
     
</style>